import request from "@/utils/common/request.js";

export function queryByOrderCode(data) { // 查询订单
  return request.post('/order/queryByOrderCode', data)
}

export function orderQueryOrdersByPage(data) {
  return request.post('/order/queryOrdersByPage', data)
}

export function orderCreateOrder(data) { // 创建订单
  return request.post('/order/createOrder', data)
}

export function integralPay(data) { // 积分支付
  return request.post('/order/integralPay', data)
}

export function againBuy(data) { // 再次购买
  return request.post('/order/againBuy', data)
}